package com.haiyan.demo03_对象的创建和使用;

public class Phone {
    String brand;
    int price;

    public void call(String phoneNum)
    {
        System.out.println("正在给"+phoneNum+"打电话...");
    }
    public void sendMessage(String phoneNum,String message)
    {
        System.out.println("正在给"+phoneNum+"发短信，短信内容是:"+message);
    }
}
